/*
 * Copyright@2009 qcj All rights reserved.
 */
package org.firegrid.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.jdon.annotation.Model;

/**
 * @author qcj,(jentrees2001@yahoo.com.cn)
 */
@Entity
@Table(name="f_form")
@Model
public class Form extends IdEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1466737346679536400L;
	private String formCode;
	private String fname;
	private String title;
	private String comments;
	/**
	 * @return the fname
	 */
	public String getFname() {
		return fname;
	}
	/**
	 * @param fname the fname to set
	 */
	public void setFname(String fname) {
		this.fname = fname;
	}
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the formCode
	 */
	@Column(nullable=true,unique=true)
	public String getFormCode() {
		return formCode;
	}
	/**
	 * @param formCode the formCode to set
	 */
	public void setFormCode(String formCode) {
		this.formCode = formCode;
	}
	/**
	 * @return the comments
	 */
	public String getComments() {
		return comments;
	}
	/**
	 * @param comments the comments to set
	 */
	public void setComments(String comments) {
		this.comments = comments;
	}
}
